﻿@{
    LayoutPage = "~/_SiteLayout.cshtml";
    var meetings = new MeetingRepository().GetPreviousMeetings();
}
<h2>Past Meetings</h2>
<ul>
@foreach(var meeting in meetings){
    <li><a href="meeting?id=@meeting.Id">@meeting.Date - @meeting.Topic presented by @meeting.SpeakerName</a></li>
}
</ul>